
.qa-panel {
    max-width: 700px;
    min-width: 20rem;
    margin: 20px auto;
    padding: 30px;
    background-color: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qa-panel .title {
    font-size: 1.5rem;
    color: #1f2937;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.qa-panel .form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.qa-panel .textarea {
    width: calc(100% - 24px);
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-height: 50px;
    resize: vertical;
}

.qa-panel .button {
    padding: 12px 20px;
    font-size: 1rem;
    color: white;
    /* background-color: #3b82f6; */
    background-color: hsl(305.88deg 40.16% 24.9%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-weight: 500;
}

.qa-panel .button:hover {
    background-color: #2563eb;
    /* 深蓝色 */
}

.qa-panel .button:disabled {
    background-color: #9ca3af;
    /* 禁用时的灰色 */
    cursor: not-allowed;
}

.qa-panel .answerSection {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.qa-panel .answerTitle {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 500;
}

.qa-panel .answerText {
    font-size: 1rem;
    color: #374151;
    white-space: pre-wrap;
    text-align: left;
    line-height: 1.6;
}

.qa-panel .loadingText {
    font-size: 1rem;
    color: #6b7280;
    text-align: center;
    padding: 10px 0;
}

.qa-panel .errorText {
    font-size: 1rem;
    color: #ef4444;
    background-color: #fee2e2;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #fca5a5;
}